package com.xjrsoft.module.customerTwo.EMP.repair.service;

import com.xjrsoft.module.customerTwo.EMP.repair.entity.TElectricRepair;
import com.xjrsoft.module.customerTwo.EMP.repair.dto.TElectricRepairListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  服务类
 *
 * @author lisen
 * @since 2023-08-04
 */
public interface ITElectricRepairService extends IService<TElectricRepair> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<TElectricRepair> getPageList(TElectricRepairListDto pageListDto);
	boolean addTElectricRepair(TElectricRepair tElectricRepair);

	boolean updateTElectricRepair(String id, TElectricRepair tElectricRepair);

	boolean delete(String ids);

	public boolean confirm(String id);

	public List<TElectricRepair> getByRoomNumber(String num);

	List<TElectricRepair> getByIdentity(String id);
}
